package com.applet.common.exception.parttime;

import lombok.Getter;

public class partTimeException extends RuntimeException {

    /**
     * 错误码
     */
    @Getter
    private Integer code;

    /**
     * 错误提示
     */
    private String message;
    public partTimeException() {
    }
    public partTimeException(String message) {
        super(message);
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
